let topBar = () => import ('../components/topBar.vue')                                  //头部导航
let leftMenu = () => import ('../components/leftMenu.vue')                              //左侧导航
let myInfo = () => import ('../views/public/myInfo.vue')                                //我的信息
let notification = () => import ('../views/public/notification.vue')                    //消息通知

//学生实训项目
let studentIndex = () => import ('../views/student/studentIndex.vue')                   //首页
let projectTrainingStep = () => import ('../views/student/projectTrainingStep.vue') //项目实训维护实训步骤
let projectintroDuction = () => import ('../views/student/projectintroDuction.vue')     //项目简介
let projectintroductionCustomize = () => import ('../views/student/projectintroductionCustomize.vue')     //项目简介
// let businessProcess = () =>import ('../views/student/businessProcess.vue')              //业务流程
// let environmentIntroduce = () => import ('../views/student/environmentIntroduce.vue')   //环境介绍
// let projectTrainingHome = () => import ('../views/student/projectTrainingHome.vue')     //项目实训home
// let projectTraining = () => import ('../views/student/projectTraining.vue')             //项目实训
// let projectTrainingDetail = () => import ('../views/student/projectTrainingDetail.vue') //项目实训详情
let projectDocumentation = () => import ('../views/student/projectDocumentation.vue')   //项目文档
let projectSourceCodeHome = () => import ('../views/student/projectSourceCodeHome.vue') //制作项目源码Home
let projectSourceCode = () => import ('../views/student/projectSourceCode.vue')         //项目源码
let projectSourceCodeSecond = () => import('../views/student/projectSourceCodeSecond.vue')//制作项目源码二级
let commonTool = () => import ('../views/student/commonTool.vue')                       //常用工具
let trainingStatistics = () => import ('../views/student/trainingStatistics.vue')       //实训统计
let trainingReportHome = () => import ('../views/student/trainingReportHome.vue')       //实训报告Home
let trainingReport = () => import('../views/student/trainingReport.vue')                //实训报告评价
let trainingReportDetail = () => import ('../views/student/trainingReportDetail.vue')   //实训报告详情

//教师端
let teacherIndex = () => import ('../views/teacher/teacherIndex.vue')                   //首页
let tprojectintroDuction = () => import ('../views/teacher/projectintroDuction.vue')    //项目简介
// let tbusinessProcess = () =>import ('../views/teacher/businessProcess.vue')             //业务流程
// let tenvironmentIntroduce = () => import ('../views/teacher/environmentIntroduce.vue')  //环境介绍
// let tprojectTrainingHome = () => import ('../views/teacher/projectTrainingHome.vue')     //项目实训Home
// let tprojectTraining = () => import ('../views/teacher/projectTraining.vue')            //项目实训
// let tprojectTrainingDetail = () => import ('../views/teacher/projectTrainingDetail.vue') //项目实训详情
let tprojectDocumentation = () => import ('../views/teacher/projectDocumentation.vue')  //项目文档
let tprojectSourceCode = () => import ('../views/teacher/projectSourceCode.vue')        //项目源码
let tprojectSourceCodeHome = () => import ('../views/teacher/projectSourceCodeHome.vue') //项目源码Home
let tprojectSourceCodeSecond = () => import ('../views/teacher/projectSourceCodeSecond.vue') //项目源码二级
let projectProduction = () => import ('../views/teacher/projectProduction.vue')         //实训案例制作
let productionProjectProfile = () => import ('../views/teacher/productionProjectProfile.vue') //制作项目简介
// let productionProjectFlow = () => import ('../views/teacher/productionProjectFlow.vue') //制作项目流程
// let productionProjectEnvironment = () => import ('../views/teacher/productionProjectEnvironment.vue') //制作项目环境
// let productionProjectTraining = () => import ('../views/teacher/productionProjectTraining.vue') //制作项目实训
let tprojectTrainingStep = () => import ('../views/teacher/projectTrainingStep.vue')    //制作项目实训维护实训步骤
let productionProjectDocument = () => import ('../views/teacher/productionProjectDocument.vue') //制作项目文档
let productionProjectCode = () => import ('../views/teacher/productionProjectCode.vue') //制作项目源码
let productionProjectCodeHome = () => import ('../views/teacher/productionProjectCodeHome.vue') //制作项目源码Home
let productionProjectCodeSecond = () => import ('../views/teacher/productionProjectCodeSecond.vue') //制作项目源码二级
let tcommonTool = () => import ('../views/teacher/commonTool.vue')                      //常用工具
let tcommonToolHome = () => import ('../views/teacher/commonToolHome.vue')              //常用工具Home
let tcommonToolDetail = () => import ('../views/teacher/commonToolDetail.vue')          //常用工具详情
let teachingMgtHome = () => import ('../views/teacher/teachingMgtHome.vue')             //教学管理Home
let teachingMgt = () => import('../views/teacher/teachingMgt.vue')                      //教学管理
let teachingMgtDetail = () => import('../views/teacher/teachingMgtDetail.vue')          //教学管理详情
let teachingMgtInfoDetail = () => import('../views/teacher/teachingMgtInfoDetail.vue')  //教学管理信息详情
let teacheringMgtNotesDetail = () => import('../views/teacher/teacheringMgtNotesDetail.vue') //教学管理笔记详情
let evaluationMgt = () => import ('../views/teacher/evaluationMgt.vue')                 //评价管理
let teachingSet = () => import ('../views/teacher/teachingSet.vue')                     //教学设置
let teachingEvaluationSet = () => import ('../views/teacher/teachingEvaluationSet.vue') //报告评分设置
let teachingReportSet = () => import ('../views/teacher/teachingReportSet.vue')         //报告评分设置
let virtualMachineMgt = () => import ('../views/teacher/virtualMachineMgt.vue')         //虚机管理
let vurtualMirror = () => import ('../views/teacher/vurtualMirror.vue')                 //我的镜像
let classTrainingStatisticsHome = () => import ('../views/teacher/classTrainingStatisticsHome.vue') //班级实训统计Home
let classTrainingStatistics = () => import ('../views/teacher/classTrainingStatistics.vue') //班级实训统计
let classTrainingStatisticsDetail = () => import ('../views/teacher/classTrainingStatisticsDetail.vue') //班级实训统计详情
let studentTrainingStatisticsHome = () => import ('../views/teacher/studentTrainingStatisticsHome.vue') //学生实训统计Home
let studentTrainingStatisticsView = () => import ('../views/teacher/studentTrainingStatisticsView.vue') //学生实训统计查看
let studentTrainingStatistics = () => import ('../views/teacher/studentTrainingStatistics.vue') //学生实训统计
let ttrainingReportHome = () => import ('../views/teacher/trainingReportHome.vue')      //实训报告home
let ttrainingReportDetail = () => import ('../views/teacher/trainingReportDetail.vue')  //实训报告详情
let ttrainingReport = () => import('../views/teacher/trainingReport.vue')               //实训报告评价
let messageMgt = () => import ('../views/teacher/messageMgt.vue')                       //消息管理
let imageManger = () => import ('../views/teacher/imageManger.vue')                     //镜像管理

//管理员
let teacherMgt = () => import ('../views/administrator/teacherMgt.vue')                 //教师管理
let addTeacher = () => import('../views/administrator/addTeacher.vue')                  //隐藏页面
let adminClear = () => import('../views/administrator/adminClear.vue') //定时清理页面
let classMgt = () => import ('../views/administrator/classMgt.vue')                     //学生管理
let classMgtHome = () => import ('../views/administrator/classMgtHome.vue')             //学生管理Home
let classMgtChild = () => import ('../views/administrator/classMgtChild.vue')           //学生管理添加班级
let classMgtModify = () => import ('../views/administrator/classMgtModify.vue')         //学生管理修改班级
let classMgtDetail = () => import ('../views/administrator/classMgtDetail.vue')         //学生管理班级详情
let teachMgt = () => import ('../views/administrator/teachMgt.vue')                     //授课管理
let adprojectintroDuction = () => import ('../views/administrator/projectintroDuction.vue') //项目简介
// let adbusinessProcess = () => import ('../views/administrator/businessProcess.vue')     //业务流程
// let adenvironmentIntroduce = () => import ('../views/administrator/environmentIntroduce.vue') //环境介绍
// let adprojectTrainingHome = () => import ('../views/administrator/projectTrainingHome.vue') //项目实训Home
// let adprojectTraining = () => import ('../views/administrator/projectTraining.vue') //项目实训
// let adprojectTrainingDetail = () => import ('../views/administrator/projectTrainingDetail.vue') //项目实训详情
let adprojectDocumentation = () => import ('../views/administrator/projectDocumentation.vue') //项目文档
let adprojectSourceCode = () => import ('../views/administrator/projectSourceCode.vue') //项目源码
let adprojectSourceCodeHome = () => import ('../views/administrator/projectSourceCodeHome.vue') //项目源码Home
let adprojectSourceCodeSecond = () => import ('../views/administrator/projectSourceCodeSecond.vue') //项目源码二级
let studentVirtualConfig = () => import ('../views/administrator/studentVirtualConfig.vue') //学生虚机配置
// let teacherVirtualConfig = () => import ('../views/administrator/teacherVirtualConfig.vue') //教师虚机配置
let groupVirtualConfig = () => import ('../views/administrator/groupVirtualConfig.vue') //虚机集群配置
// let imageMgt = () => import ('../views/administrator/imageMgt.vue')                     //镜像管理
// let virtualSelect = () => import ('../views/administrator/virtualSelect.vue')           //虚机查询
let presetItems = () => import('../views/administrator/presetItems.vue') //预置项目
let professionClass = () => import('../views/administrator/professionClass.vue') //专业分类
let aprojectTrainingStep = () => import ('../views/administrator/projectTrainingStep.vue') //项目实训维护实训步骤
let userMgt = () => import ('../views/administrator/userMgt.vue')                       //用户管理
let templateSet = () => import ('../views/administrator/templateSet.vue')               //模板设置
let backUp = () => import('../views/administrator/backUp.vue')                          //文件备份
let aimageManger = () => import ('../views/administrator/imageManger.vue')               //镜像管理

export default [
    {
        path: '*',
        component: () => import('../views/error/404.vue'),
        meta: {
            title: '找不到页面'
        }
    },
    {
        path: '/',
        redirect: '/login'
    },
    {
        path: '/login',
        component: () => import('../views/login/login.vue'),
        meta: {
            title: '登录'
        }
    },
    {
        path: '/treeEditCase',
        component: () => import('../views/other/TreeEditCase.vue'),
        meta: {
            title: '案例'
        }
    },
    //学生端
    {
        path: '/student/index',
        type: '/student/index',
        name: '/student/index',
        component: () => import ('../views/public/home.vue'),
        children: [
            {
                path: '/student/index',
                menuName: '项目首页',
                components :{
                    default: studentIndex,
                    top: topBar,
                    aside: leftMenu
                },
                leaf: true,
                meta: {
                    requireAuth: true,
                    title: '实训项目首页'
                }
            }
        ]
    },
    {
        path: '/student/myInfo',
        type: '/student/myInfo',
        name: '/student/myInfo',
        component: () => import ('../views/public/home.vue'),
        children: [{
            path: '/student/myInfo',
            menuName: '我的信息',
            components: {
                default: myInfo,
                top: topBar,
                aside: leftMenu
            },
            leaf: true,
            meta: {
                requireAuth: true,
                title: '我的信息'
            }
        }]
    },
    {
        path: '/student/notification',
        type: '/student/notification',
        name: '/student/notification',
        component: () => import ('../views/public/home.vue'),
        children: [{
            path: '/student/notification',
            menuName: '消息通知',
            components: {
                default: notification,
                top: topBar,
                aside: leftMenu
            },
            leaf: true,
            meta: {
                requireAuth: true,
                title: '消息通知'
            }
        }]
    },
    {
        path: '/student/projectTrainingStep',
        type: '/student/projectTrainingStep',
        name: '/student/projectTrainingStep',
        meta: {
            requireAuth: true,
            title: '维护项目步骤'
        },
        component: projectTrainingStep
    },
    {
        path: '/student/projectintroductionCustomize',
        type: '/student/projectintroductionCustomize',
        name: '/student/projectintroductionCustomize',
        component: () => import ('../views/public/home.vue'),
        children: [
            {
                path: '/student/projectintroductionCustomize',
                menuName: '案例简介',
                components: {
                    default: projectintroductionCustomize,
                    top: topBar,
                    aside: leftMenu
                },
                leaf: false,
                meta: {
                    requireAuth: true,
                    title: '案例简介'
                }
            },
        ]
    },
    {
        path: '/student/projectintroduction',
        type: '/student/projectintroduction',
        name: '/student/projectintroduction',
        component: () => import ('../views/public/home.vue'),
        children: [
            {
                path: '/student/projectintroduction',
                menuName: '案例简介',
                components: {
                    default: projectintroDuction,
                    top: topBar,
                    aside: leftMenu
                },
                leaf: false,
                meta: {
                    requireAuth: true,
                    title: '案例简介'
                }
            },
            {
                path: '/student/projectDocumentation',
                menuName: '案例文档',
                components: {
                    default: projectDocumentation,
                    top: topBar,
                    aside: leftMenu
                },
                leaf: false,
                meta: {
                    requireAuth: true,
                    title: '案例文档'
                }
            },
            {
                path: '/student/projectSourceCode',
                menuName: '案例源码',
                components: {
                    default: projectSourceCodeHome,
                    top: topBar,
                    aside: leftMenu
                },
                leaf: false,
                children: [
                    {
                        path: '/student/projectSourceCode',
                        component: projectSourceCode,
                        meta: {
                            requireAuth: true,
                            title: '案例源码'
                        }
                    },
                    {
                        path: '/student/projectSourceCode/second',
                        component: projectSourceCodeSecond,
                        meta: {
                            requireAuth: true,
                            title: '案例源码'
                        }
                    }
                ]
            }
        ]
    },
    {
        path: '/student/commonTool',
        type: '/student/commonTool',
        name: '/student/commonTool',
        component: () => import ('../views/public/home.vue'),
        children: [{
            path: '/student/commonTool',
            menuName: '常用工具',
            components: {
                default: commonTool,
                top: topBar,
                aside: leftMenu
            },
            leaf: false,
            meta: {
                requireAuth: true,
                title: '常用工具'
            }
        }]
    },
    {
        path: '/student/trainingStatistics',
        type: '/student/trainingStatistics',
        name: '/student/trainingStatistics',
        component: () => import ('../views/public/home.vue'),
        children: [
            {
                path: '/student/trainingStatistics',
                menuName: '实训统计',
                components: {
                    default: trainingStatistics,
                    top: topBar,
                    aside: leftMenu
                },
                leaf: false,
                meta: {
                    requireAuth: true,
                    title: '实训统计'
                }
            }
        ]
    },
    {
        path: '/student/trainingReport',
        type: '/student/trainingReport',
        name: '/student/trainingReport',
        component: () => import ('../views/public/home.vue'),
        children: [
            {
                path: '/student/trainingReport',
                menuName: '实训报告',
                components: {
                    default: trainingReportHome,
                    top: topBar,
                    aside: leftMenu
                },
                leaf: false,
                children: [
                    {
                        path: '/student/trainingReport',
                        component: trainingReport,
                        meta: {
                            requireAuth: true,
                            title: '实训报告'
                        }
                    },
                    {
                        path: '/student/trainingReportDetail',
                        component: trainingReportDetail,
                        meta: {
                            requireAuth: true,
                            title: '实训报告详情'
                        }
                    }
                ]
            }
        ]
    },
    //教师
    {
        path: '/teacher/index',
        type: '/teacher/index',
        name: '/teacher/index',
        component: () => import ('../views/public/home.vue'),
        children: [{
                path: '/teacher/index',
                menuName: '项目首页',
                components: {
                    default: teacherIndex,
                    top: topBar,
                    aside: leftMenu
                },
                leaf: true,
                meta: {
                    requireAuth: true,
                    title: '实训项目首页'
                }
            }
        ]
    },
    {
        path: '/teacher/myInfo',
        type: '/teacher/myInfo',
        name: '/teacher/myInfo',
        component: () => import ('../views/public/home.vue'),
        children: [{
            path: '/teacher/myInfo',
            menuName: '我的信息',
            components: {
                default: myInfo,
                top: topBar,
                aside: leftMenu
            },
            leaf: true,
            meta: {
                requireAuth: true,
                title: '我的信息'
            }
        }]
    },
    {
        path: '/teacher/notification',
        type: '/teacher/notification',
        name: '/teacher/notification',
        component: () => import ('../views/public/home.vue'),
        children: [{
            path: '/teacher/notification',
            menuName: '消息通知',
            components: {
                default: notification,
                top: topBar,
                aside: leftMenu
            },
            leaf: true,
            meta: {
                requireAuth: true,
                title: '消息通知'
            }
        }]
    },
    {
        path: '/teacher/projectintroduction',
        type: '/teacher/projectintroduction',
        name: '/teacher/projectintroduction',
        component: () => import ('../views/public/home.vue'),
        children: [
            {
                path: '/teacher/projectintroduction',
                menuName: '案例简介',
                components: {
                    default: tprojectintroDuction,
                    top: topBar,
                    aside: leftMenu
                },
                leaf: false,
                // leaf: falsethis.$store.state.itemServiceValue.showItemFileFlag,
                meta: {
                    requireAuth: true,
                    title: '案例简介'
                }
            },
            // {
            //     path: '/teacher/businessProcess',
            //     menuName: '业务流程',
            //     components: {
            //         default: tbusinessProcess,
            //         top: topBar,
            //         aside: leftMenu
            //     },
            //     leaf: false,
            //     meta: {
            //         requireAuth: true,
            //         title: '业务流程'
            //     }
            // },
            // {
            //     path: '/teacher/environmentIntroduce',
            //     menuName: '环境介绍',
            //     components: {
            //         default: tenvironmentIntroduce,
            //         top: topBar,
            //         aside: leftMenu
            //     },
            //     leaf: false,
            //     meta: {
            //         requireAuth: true,
            //         title: '环境介绍'
            //     }
            // },
            // {
            //     path: '/teacher/projectTraining',
            //     menuName: '项目实训',
            //     components: {
            //         default: tprojectTrainingHome,
            //         top: topBar,
            //         aside: leftMenu
            //     },
            //     leaf: false,
            //     children: [{
            //             path: '/teacher/projectTraining',
            //             component: tprojectTraining,
            //             meta: {
            //                 requireAuth: true,
            //                 title: '项目实训'
            //             }
            //         },
            //         {
            //             path: '/teacher/projectTrainingDetail',
            //             component: tprojectTrainingDetail,
            //             meta: {
            //                 requireAuth: true,
            //                 title: '项目实训'
            //             }
            //         }
            //     ]
            // },
            {
                path: '/teacher/projectDocumentation',
                menuName: '案例文档',
                components: {
                    default: tprojectDocumentation,
                    top: topBar,
                    aside: leftMenu
                },
                leaf: false,
                meta: {
                    requireAuth: true,
                    title: '案例文档'
                }
            },
            {
                path: '/teacher/projectSourceCode',
                menuName: '案例源码',
                components: {
                    default: tprojectSourceCodeHome,
                    top: topBar,
                    aside: leftMenu
                },
                leaf: false,
                children: [{
                        path: '/teacher/projectSourceCode',
                        component: tprojectSourceCode,
                        meta: {
                            requireAuth: true,
                            title: '案例源码'
                        }
                    },
                    {
                        path: '/teacher/projectSourceCode/second',
                        component: tprojectSourceCodeSecond,
                        meta: {
                            requireAuth: true,
                            title: '案例源码'
                        }
                    }
                ]
            }
        ]
    },
    {
        path: '/teacher/projectProduction',
        type: '/teacher/projectProduction',
        name: '/teacher/projectProduction',
        component: () => import ('../views/public/home.vue'),
        children: [
            {
                path: '/teacher/projectProduction',
                menuName: '实训案例制作',
                components: {
                    default: projectProduction,
                    top: topBar,
                    aside: leftMenu
                },
                leaf: false,
                meta: {
                    requireAuth: true,
                    title: '实训案例制作'
                }
            }
        ]
    },
    {
        path: '/teacher/productionProjectProfile',
        type: '/teacher/productionProjectProfile',
        name: '/teacher/productionProjectProfile',
        component: () => import ('../views/public/home.vue'),
        children: [{
                path: '/teacher/productionProjectProfile',
                menuName: '制作案例简介',
                components: {
                    default: productionProjectProfile,
                    top: topBar,
                    aside: leftMenu
                },
                leaf: false,
                meta: {
                    requireAuth: true,
                    title: '制作案例简介'
                }
            },
            // {
            //     path: '/teacher/productionProjectFlow',
            //     menuName: '制作项目流程',
            //     components: {
            //         default: productionProjectFlow,
            //         top: topBar,
            //         aside: leftMenu
            //     },
            //     leaf: false,
            //     meta: {
            //         requireAuth: true,
            //         title: '制作项目流程'
            //     }
            // },
            // {
            //     path: '/teacher/productionProjectEnvironment',
            //     menuName: '制作项目环境',
            //     components: {
            //         default: productionProjectEnvironment,
            //         top: topBar,
            //         aside: leftMenu
            //     },
            //     leaf: false,
            //     meta: {
            //         requireAuth: true,
            //         title: '制作项目环境'
            //     }
            // },
            // {
            //     path: '/teacher/productionProjectTraining',
            //     menuName: '制作项目实训',
            //     components: {
            //         default: productionProjectTraining,
            //         top: topBar,
            //         aside: leftMenu
            //     },
            //     leaf: false,
            //     meta: {
            //         requireAuth: true,
            //         title: '制作项目实训'
            //     }
            // },
            {
                path: '/teacher/productionProjectDocument',
                menuName: '制作案例文档',
                components: {
                    default: productionProjectDocument,
                    top: topBar,
                    aside: leftMenu
                },
                leaf: false,
                meta: {
                    requireAuth: true,
                    title: '制作案例文档'
                }
            },
            {
                path: '/teacher/productionProjectCode',
                menuName: '制作案例源码',
                components: {
                    default: productionProjectCodeHome,
                    top: topBar,
                    aside: leftMenu
                },
                leaf: false,
                children: [{
                        path: '/teacher/productionProjectCode',
                        component: productionProjectCode,
                        meta: {
                            requireAuth: true,
                            title: '制作案例源码'
                        }
                    },
                    {
                        path: '/teacher/productionProjectCode/second',
                        component: productionProjectCodeSecond,
                        meta: {
                            requireAuth: true,
                            title: '制作案例源码'
                        }
                    }
                ]
            }
        ]
    },
    {
        path: '/teacher/projectTrainingStep',
        type: '/teacher/projectTrainingStep',
        name: '/teacher/projectTrainingStep',
        meta: {
            requireAuth: true,
            title: '维护项目步骤'
        },
        component: tprojectTrainingStep
    },
    {
        path: '/teacher/commonTool',
        type: '/teacher/commonTool',
        name: '/teacher/commonTool',
        component: () => import ('../views/public/home.vue'),
        children: [
            {
                path: '/teacher/commonTool',
                menuName: '常用工具',
                components: {
                    default: tcommonToolHome,
                    top: topBar,
                    aside: leftMenu
                },
                leaf: false,
                children: [
                    {
                        path: '/teacher/commonTool',
                        component: tcommonTool,
                        meta: {
                            requireAuth: true,
                            title: '常用工具'
                        }
                    },
                    {
                        path: '/teacher/commonToolDetail',
                        component: tcommonToolDetail,
                        meta: {
                            requireAuth: true,
                            title: '常用工具详情'
                        }
                    }
                ]
            }
        ]
    },
    {
        path: '/teacher/teachingMgt',
        type: '/teacher/teachingMgt',
        name: '/teacher/teachingMgt',
        component: () => import ('../views/public/home.vue'),
        children: [
            {
                path: '/teacher/teachingMgt',
                menuName: '教学管理',
                components: {
                    default: teachingMgtHome,
                    top: topBar,
                    aside: leftMenu
                },
                leaf: false,
                children: [
                    {
                        path: '/teacher/teachingMgt',
                        component: teachingMgt,
                        meta: {
                            requireAuth: true,
                            title: '教学管理'
                        }
                    },
                    {
                        path: '/teacher/teachingMgtDetail',
                        component: teachingMgtDetail,
                        meta: {
                            requireAuth: true,
                            title: '教学详情'
                        }
                    },
                    {
                        path: '/teacher/teachingMgtInfoDetail',
                        component: teachingMgtInfoDetail,
                        meta: {
                            requireAuth: true,
                            title: '教学详情'
                        }
                    },
                    {
                        path: '/teacher/teacheringMgtNotesDetail',
                        component: teacheringMgtNotesDetail,
                        meta: {
                            requireAuth: true,
                            title: '笔记详情'
                        }
                    }
                ]
            },
            // {
            //     path: '/teacher/teachingSet',
            //     menuName: '教学设置',
            //     components: {
            //         default: teachingSet,
            //         top: topBar,
            //         aside: leftMenu
            //     },
            //     leaf: false,
            //     meta: {
            //         requireAuth: true,
            //         title: '教学设置'
            //     }
            // },
        ]
    },
    {
        path: '/teacher/virtualMachineMgt',
        type: '/teacher/virtualMachineMgt',
        name: '/teacher/virtualMachineMgt',
        component: () => import ('../views/public/home.vue'),
        children: [{
                path: '/teacher/virtualMachineMgt',
                menuName: '虚机列表',
                components: {
                    default: virtualMachineMgt,
                    top: topBar,
                    aside: leftMenu
                },
                leaf: false,
                meta: {
                    requireAuth: true,
                    title: '虚机列表'
                }
            },
            {
                path: '/teacher/imageManger',
                menuName: '镜像管理',
                components: {
                    default: imageManger,
                    top: topBar,
                    aside: leftMenu
                },
                leaf: false,
                meta: {
                    requireAuth: true,
                    title: '镜像管理'
                }
            },


            // ,
            // {
            //     path: '/teacher/vurtualMirror',
            //     menuName: '虚机配置',
            //     components: {
            //         default: vurtualMirror,
            //         top: topBar,
            //         aside: leftMenu
            //     },
            //     leaf: false,
            //     meta: {
            //         requireAuth: true,
            //         title: '虚机配置'
            //     }
            // }
        ]
    },

    {
        path: '/teacher/classTrainingStatistics',
        type: '/teacher/classTrainingStatistics',
        name: '/teacher/classTrainingStatistics',
        component: () => import ('../views/public/home.vue'),
        children: [{
            path: '/teacher/classTrainingStatistics',
            menuName: '教学统计',
            components: {
                default:classTrainingStatisticsHome,
                top: topBar,
                aside: leftMenu
            },
            leaf: false,
            children: [{
                    path: '/teacher/classTrainingStatistics',
                    component: classTrainingStatistics,
                    meta: {
                        requireAuth: true,
                        title: '教学统计'
                    }
                },
                {
                    path: '/teacher/classTrainingStatisticsDetail',
                    component: classTrainingStatisticsDetail,
                    meta: {
                        requireAuth: true,
                        title: '教学统计详情'
                    }
                }
            ]
        },
        {
            path: '/teacher/studentTrainingStatistics',
            menuName: '学生统计',
            components: {
                default: studentTrainingStatisticsHome,
                top: topBar,
                aside: leftMenu
            },
            leaf: false,
            children: [
                {
                    path: '/teacher/studentTrainingStatistics',
                    component: studentTrainingStatistics,
                    meta: {
                        title: '学生统计'
                    }
                },
                {
                    path: '/teacher/studentTrainingStatisticsView',
                    component: studentTrainingStatisticsView,
                    meta: {
                        title: '学生统计'
                    }
                }
            ]
        }
        ]
    },
    {
        path: '/teacher/trainingReport',
        type: '/teacher/trainingReport',
        name: '/teacher/trainingReport',
        component: () => import ('../views/public/home.vue'),
        children: [{
            path: '/teacher/trainingReport',
            menuName: '实训报告评价',
            components: {
                default: ttrainingReportHome,
                top: topBar,
                aside: leftMenu
            },
            leaf: false,
            children: [{
                    path: '/teacher/trainingReport',
                    component: ttrainingReport,
                    meta: {
                        requireAuth: true,
                        title: '实训报告评价'
                    }
                },
                {
                    path: '/teacher/trainingReportDetail',
                    component: ttrainingReportDetail,
                    meta: {
                        requireAuth: true,
                        title: '实训报告详情'
                    }
                }
            ]
        },
        {
            path: '/teacher/teachingReportSet',
            menuName: '实训报告列表',
            components: {
                default: teachingReportSet,
                top: topBar,
                aside: leftMenu
            },
            leaf: false,
            meta: {
                requireAuth: true,
                title: '实训报告列表'
            }
        },
        {
            path: '/teacher/teachingEvaluationSet',
            menuName: '报告评分设置',
            components: {
                default: teachingEvaluationSet,
                top: topBar,
                aside: leftMenu
            },
            leaf: false,
            meta: {
                requireAuth: true,
                title: '报告评分设置'
            }
        }]
    },
    //管理员
    {
        path: '/admin/myInfo',
        type: '/admin/myInfo',
        name: '/admin/myInfo',
        component: () =>
            import ('../views/public/home.vue'),
        children: [{
            path: '/admin/myInfo',
            menuName: '我的信息',
            components: {
                default: myInfo,
                top: topBar,
                aside: leftMenu
            },
            leaf: true,
            meta: {
                requireAuth: true,
                title: '我的信息'
            }
        }]
    },
    {
        path: '/admin/notification',
        type: '/admin/notification',
        name: '/admin/notification',
        component: () => import ('../views/public/home.vue'),
        children: [{
            path: '/admin/notification',
            menuName: '消息通知',
            components: {
                default: notification,
                top: topBar,
                aside: leftMenu
            },
            leaf: true,
            meta: {
                requireAuth: true,
                title: '消息通知'
            }
        }]
    },
    {
        path: '/admin/teacherMgt',
        type: '/admin/teacherMgt',
        name: '/admin/teacherMgt',
        component: () => import ('../views/public/home.vue'),
        children: [{
                path: '/admin/teacherMgt',
                menuName: '教师管理',
                components: {
                    default: teacherMgt,
                    top: topBar,
                    aside: leftMenu
                },
                leaf: false,
                meta: {
                    requireAuth: true,
                    title: '教师管理'
                }
            },
            {
                path: '/admin/classMgt',
                menuName: '班级管理',
                components: {
                    default: classMgtHome,
                    top: topBar,
                    aside: leftMenu
                },
                leaf: false,
                children: [
                    {
                        path: '/admin/classMgt',
                        component: classMgt,
                        meta: {
                            requireAuth: true,
                            title: '班级管理'
                        }
                    },
                    {
                        path: '/admin/classMgtChild',
                        component: classMgtChild,
                        meta: {
                            requireAuth: true,
                            title: '添加班级'
                        }
                    },
                    {
                        path: '/admin/classMgtModify',
                        component: classMgtModify,
                        meta: {
                            requireAuth: true,
                            title: '修改班级'
                        }
                    },
                    {
                        path: '/admin/classMgtDetail',
                        component: classMgtDetail,
                        meta: {
                            requireAuth: true,
                            title: '班级详情'
                        }
                    }
                ]
            },
            {
                path: '/admin/teachMgt',
                menuName: '授课管理',
                components: {
                    default: teachMgt,
                    top: topBar,
                    aside: leftMenu
                },
                leaf: false,
                meta: {
                    requireAuth: true,
                    title: '授课管理'
                }
            },
            {
                path: '/admin/addTeacher',
                menuName: '添加教师',
                components: {
                    default: addTeacher,
                    top: topBar,
                    aside: leftMenu
                },
                leaf: true,
                meta: {
                    requireAuth: true,
                    title: '添加教师'
                }
            },
            {
                path: '/admin/adminClear',
                menuName: '定时清理',
                components: {
                    default: adminClear,
                    top: topBar,
                    aside: leftMenu
                },
                leaf: true,
                meta: {
                    requireAuth: true,
                    title: '定时清理'
                }
            },
        ]
    },
    {
        path: '/admin/presetItems',
        type: '/admin/presetItems',
        name: '/admin/presetItems',
        component: () => import ('../views/public/home.vue'),
        children: [
            {
                path: '/admin/presetItems',
                menuName: '实训案例',
                components: {
                    default: presetItems,
                    top: topBar,
                    aside: leftMenu
                },
                leaf: false,
                meta: {
                    requireAuth: true,
                    title: '实训案例'
                }
            },
            {
                path: '/admin/professionClass',
                menuName: '专业分类',
                components: {
                    default: professionClass,
                    top: topBar,
                    aside: leftMenu
                },
                leaf: false,
                meta: {
                    requireAuth: true,
                    title: '专业分类'
                }
            }
        ]
    },
    {
        path: '/admin/projectTrainingStep',
        type: '/admin/projectTrainingStep',
        name: '/admin/projectTrainingStep',
        meta: {
            requireAuth: true,
            title: '维护项目步骤'
        },
        component: aprojectTrainingStep
    },
    {
        path: '/admin/projectintroduction',
        type: '/admin/projectintroduction',
        name: '/admin/projectintroduction',
        component: () =>
            import ('../views/public/home.vue'),
        children: [{
                path: '/admin/projectintroduction',
                menuName: '案例简介',
                components: {
                    default: adprojectintroDuction,
                    top: topBar,
                    aside: leftMenu
                },
                leaf: false,
                // leaf: falsethis.$store.state.itemServiceValue.showItemFileFlag,
                meta: {
                    requireAuth: true,
                    title: '案例简介'
                }
            },
            // {
            //     path: '/admin/businessProcess',
            //     menuName: '业务流程',
            //     components: {
            //         default: adbusinessProcess,
            //         top: topBar,
            //         aside: leftMenu
            //     },
            //     leaf: false,
            //     meta: {
            //         requireAuth: true,
            //         title: '业务流程'
            //     }
            // },
            // {
            //     path: '/admin/environmentIntroduce',
            //     menuName: '环境介绍',
            //     components: {
            //         default: adenvironmentIntroduce,
            //         top: topBar,
            //         aside: leftMenu
            //     },
            //     leaf: false,
            //     meta: {
            //         requireAuth: true,
            //         title: '环境介绍'
            //     }
            // },
            // {
            //     path: '/admin/projectTraining',
            //     menuName: '项目实训',
            //     components: {
            //         default: adprojectTrainingHome,
            //         top: topBar,
            //         aside: leftMenu
            //     },
            //     leaf: false,
            //     children: [{
            //             path: '/admin/projectTraining',
            //             component: adprojectTraining,
            //             meta: {
            //                 requireAuth: true,
            //                 title: '项目实训'
            //             }
            //         },
            //         {
            //             path: '/admin/projectTrainingDetail',
            //             component: adprojectTrainingDetail,
            //             meta: {
            //                 requireAuth: true,
            //                 title: '项目实训'
            //             }
            //         }
            //     ]
            // },
            {
                path: '/admin/projectDocumentation',
                menuName: '案例文档',
                components: {
                    default: adprojectDocumentation,
                    top: topBar,
                    aside: leftMenu
                },
                leaf: false,
                meta: {
                    requireAuth: true,
                    title: '案例文档'
                }
            },
            {
                path: '/admin/projectSourceCode',
                menuName: '案例源码',
                components: {
                    default: adprojectSourceCodeHome,
                    top: topBar,
                    aside: leftMenu
                },
                leaf: false,
                children: [{
                        path: '/admin/projectSourceCode',
                        component: adprojectSourceCode,
                        meta: {
                            requireAuth: true,
                            title: '案例源码'
                        }
                    },
                    {
                        path: '/admin/projectSourceCode/second',
                        component: adprojectSourceCodeSecond,
                        meta: {
                            requireAuth: true,
                            title: '案例源码'
                        }
                    }
                ]
            }
        ]
    },
    {
        path: '/admin/studentVirtualConfig',
        type: '/admin/studentVirtualConfig',
        name: '/admin/studentVirtualConfig',
        component: () => import ('../views/public/home.vue'),
        children: [
            {
                path: '/admin/studentVirtualConfig',
                menuName: '虚机列表',
                components: {
                    default: studentVirtualConfig,
                    top: topBar,
                    aside: leftMenu
                },
                leaf: false,
                meta: {
                    requireAuth: true,
                    title: '虚机列表'
                }
            },
            // {
            //     path: '/admin/teacherVirtualConfig',
            //     menuName: '教师虚机配置',
            //     components: {
            //         default: teacherVirtualConfig,
            //         top: topBar,
            //         aside: leftMenu
            //     },
            //     leaf: false,
            //     meta: {
            //         title: '教师虚机配置'
            //     }
            // },
            {
                path: '/admin/groupVirtualConfig',
                menuName: '虚机配置',
                components: {
                    default: groupVirtualConfig,
                    top: topBar,
                    aside: leftMenu
                },
                leaf: false,
                meta: {
                    requireAuth: true,
                    title: '虚机配置'
                }
            },
            {
                path: '/admin/imageManger',
                menuName: '镜像管理',
                components: {
                    default: aimageManger,
                    top: topBar,
                    aside: leftMenu
                },
                leaf: false,
                meta: {
                    requireAuth: true,
                    title: '镜像管理'
                }
            },
            // {
            //     path: '/admin/imageMgt',
            //     menuName: '镜像管理',
            //     components: {
            //         default: imageMgt,
            //         top: topBar,
            //         aside: leftMenu
            //     },
            //     leaf: false,
            //     meta: {
            //         title: '镜像管理'
            //     }
            // },
            // {
            //     path: '/admin/virtualSelect',
            //     menuName: '虚机查询',
            //     components: {
            //         default: virtualSelect,
            //         top: topBar,
            //         aside: leftMenu
            //     },
            //     leaf: false,
            //     meta: {
            //         title: '虚机查询'
            //     }
            // }
        ]
    },
    {
        path: '/admin/userMgt',
        type: '/admin/userMgt',
        name: '/admin/userMgt',
        component: () => import ('../views/public/home.vue'),
        children: [{
                path: '/admin/userMgt',
                menuName: '用户管理',
                components: {
                    default: userMgt,
                    top: topBar,
                    aside: leftMenu
                },
                leaf: false,
                meta: {
                    requireAuth: true,
                    title: '用户管理'
                }
            }
        ]
    },
    {
        path: '/admin/templateSet',
        type: '/admin/templateSet',
        name: '/admin/templateSet',
        component: () => import ('../views/public/home.vue'),
        children: [
            {
                path: '/admin/templateSet',
                menuName: '报告模板设置',
                components: {
                    default: templateSet,
                    top: topBar,
                    aside: leftMenu
                },
                leaf: false,
                meta: {
                    requireAuth: true,
                    title: '报告模板设置'
                }
            },
            {
                path: '/admin/backUp',
                menuName: '文件备份',
                components: {
                    default: backUp,
                    top: topBar,
                    aside: leftMenu
                },
                leaf: false,
                meta: {
                    requireAuth: true,
                    title: '文件备份'
                }
            }
        ]
    }
]
